package com.example.fengyungo_user.constant;

public class UserConstant {
    /**
     * NGROK_URL
     */
    public static final String NGROK_URL_FENGYUNGO = "https://climbing-ewe-adjusted.ngrok-free.app/fengyungo";
    /**
     * https://climbing-ewe-adjusted.ngrok-free.app/user/user
     */
    public static final String URL_USER_USER = NGROK_URL_FENGYUNGO +"/user/user";
    /**
     * https://climbing-ewe-adjusted.ngrok-free.app/user/alipay
     */
    public static final String URL_USER_ALIPAY = NGROK_URL_FENGYUNGO + "/user/alipay";

    /**
     * 能直接登录
     */
    public static final String CAN_LOGIN = "canLogin";
    /**
     * 用户id
     */
    public static final String ID = "userId";
    /**
     * 用户用户名
     */
    public static final String USERNAME = "userUsername";
    /**
     * 用户性别
     */
    public static final String SEX = "userSex";
    /**
     * 用户号码
     */
    public static final String PHONE = "userPhone";
    /**
     * 用户密码
     */
    public static final String PASSWORD = "userPassword";
    /**
     * 用户身份证号
     */
    public static final String ID_CARD = "userIdCard";
    /**
     * 用户头像
     */
    public static final String AVATAR = "userAvatar";
    /**
     * 用户状态
     */
    public static final String STATUS = "userStatus";
    /**
     * 用户账号创建时间
     */
    public static final String CREATE_TIME = "userCreateTime";
    /**
     * 用户昵称
     */
    public static final String NICKNAME = "userNickname";
    /**
     * 用户邮箱
     */
    public static final String MAIL = "userMail";
    /**
     * 修改昵称
     */
    public static final int EDIT_NICKNAME = 0;
    /**
     * 修改电话号码
     */
    public static final int EDIT_PHONE = 1;
    /**
     * 修改性别
     */
    public static final int EDIT_SEX = 2;
    /**
     * 修改账号
     */
    public static final int EDIT_USERNAME = 3;
    /**
     * 修改邮箱
     */
    public static final int EDIT_MAIL = 4;
    /**
     * 修改头像
     */
    public static final int EDIT_AVATAR = 5;

    /**
     * SharedPreferences
     */
    public static final String SP_NAME = "data";
    /**
     * 我的资料中要修改的属性
     */
    public static final String EDIT_ATTRIBUTE = "editAttribute";
    /**
     * SharedPreferences存的图片
     */
    public static final String SP_NAME_IMAGE = "image";
}
